//---------------------------------------------------------------------------

#ifndef statH
#define statH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ADODB.hpp>
#include <DB.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <ComCtrls.hpp>
#include "main.h"
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TfrmStat : public TForm
{
__published:	// IDE-managed Components
    TDataSource *ds1;
    TADOQuery *qryStat;
    TDBGrid *dbgrdStat;
    TDateTimePicker *dtpStartTime;
    TDateTimePicker *dtpEndTime;
    TLabel *lbl1;
    TLabel *lbl2;
    TButton *btnQuery;
    TComboBox *cbxFeiYongLeiXing;
    TComboBox *cbxFuKuanFangShi;
    TLabel *lbl3;
    TLabel *lbl4;
    TComboBox *cbxZhiChuOrRuZhang;
    TLabel *lbl5;
    TLabel *lbl6;
    TEdit *edtTotal;
    TADOQuery *adoQuery;
    TButton *btnExport;
    TSaveDialog *dlgSave;
    void __fastcall btnQueryClick(TObject *Sender);
    void __fastcall btnExportClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
    __fastcall TfrmStat(TComponent* Owner);

private:
    TfrmMain * m_frmMain;
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmStat *frmStat;
//---------------------------------------------------------------------------
#endif
